package com.sunny.fetch.pojo;

import javax.persistence.*;

@Table(name = "f_ncov_global")
public class FNcovGlobal {
    @Id
    private Long tid;

    /**
     * 地区代码
     */
    @Column(name = "area_id")
    private String areaId;

    /**
     * 发布日期
     */
    @Column(name = "publish_date")
    private String publishDate;

    /**
     * 国家
     */
    private String country;

    /**
     * 国家英文名
     */
    @Column(name = "country_enname")
    private String countryEnname;

    /**
     * 省份
     */
    private String province;

    /**
     * 省份简称
     */
    @Column(name = "province_short")
    private String provinceShort;

    /**
     * 省份英文名
     */
    @Column(name = "province_enname")
    private String provinceEnname;

    /**
     * 累计确诊病例
     */
    @Column(name = "confirmed_num")
    private Integer confirmedNum;

    /**
     * 现有确诊病例
     */
    @Column(name = "confirmed_num_now")
    private Integer confirmedNumNow;

    /**
     * 疑似感染病例
     */
    @Column(name = "suspected_num")
    private Integer suspectedNum;

    /**
     * 治愈人数
     */
    @Column(name = "cured_num")
    private Integer curedNum;

    /**
     * 死亡人数
     */
    @Column(name = "dead_num")
    private Integer deadNum;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private String updateTime;

    public FNcovGlobal(Long tid, String areaId, String publishDate, String country, String countryEnname, String province, String provinceShort, String provinceEnname, Integer confirmedNum, Integer confirmedNumNow, Integer suspectedNum, Integer curedNum, Integer deadNum, String updateTime) {
        this.tid = tid;
        this.areaId = areaId;
        this.publishDate = publishDate;
        this.country = country;
        this.countryEnname = countryEnname;
        this.province = province;
        this.provinceShort = provinceShort;
        this.provinceEnname = provinceEnname;
        this.confirmedNum = confirmedNum;
        this.confirmedNumNow = confirmedNumNow;
        this.suspectedNum = suspectedNum;
        this.curedNum = curedNum;
        this.deadNum = deadNum;
        this.updateTime = updateTime;
    }

    public FNcovGlobal() {
        super();
    }

    /**
     * @return tid
     */
    public Long getTid() {
        return tid;
    }

    /**
     * @param tid
     */
    public void setTid(Long tid) {
        this.tid = tid;
    }

    /**
     * 获取地区代码
     *
     * @return area_id - 地区代码
     */
    public String getAreaId() {
        return areaId;
    }

    /**
     * 设置地区代码
     *
     * @param areaId 地区代码
     */
    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    /**
     * 获取发布日期
     *
     * @return publish_date - 发布日期
     */
    public String getPublishDate() {
        return publishDate;
    }

    /**
     * 设置发布日期
     *
     * @param publishDate 发布日期
     */
    public void setPublishDate(String publishDate) {
        this.publishDate = publishDate;
    }

    /**
     * 获取国家
     *
     * @return country - 国家
     */
    public String getCountry() {
        return country;
    }

    /**
     * 设置国家
     *
     * @param country 国家
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * 获取国家英文名
     *
     * @return country_enname - 国家英文名
     */
    public String getCountryEnname() {
        return countryEnname;
    }

    /**
     * 设置国家英文名
     *
     * @param countryEnname 国家英文名
     */
    public void setCountryEnname(String countryEnname) {
        this.countryEnname = countryEnname;
    }

    /**
     * 获取省份
     *
     * @return province - 省份
     */
    public String getProvince() {
        return province;
    }

    /**
     * 设置省份
     *
     * @param province 省份
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * 获取省份简称
     *
     * @return province_short - 省份简称
     */
    public String getProvinceShort() {
        return provinceShort;
    }

    /**
     * 设置省份简称
     *
     * @param provinceShort 省份简称
     */
    public void setProvinceShort(String provinceShort) {
        this.provinceShort = provinceShort;
    }

    /**
     * 获取省份英文名
     *
     * @return province_enname - 省份英文名
     */
    public String getProvinceEnname() {
        return provinceEnname;
    }

    /**
     * 设置省份英文名
     *
     * @param provinceEnname 省份英文名
     */
    public void setProvinceEnname(String provinceEnname) {
        this.provinceEnname = provinceEnname;
    }

    /**
     * 获取累计确诊病例
     *
     * @return confirmed_num - 累计确诊病例
     */
    public Integer getConfirmedNum() {
        return confirmedNum;
    }

    /**
     * 设置累计确诊病例
     *
     * @param confirmedNum 累计确诊病例
     */
    public void setConfirmedNum(Integer confirmedNum) {
        this.confirmedNum = confirmedNum;
    }

    /**
     * 获取现有确诊病例
     *
     * @return confirmed_num_now - 现有确诊病例
     */
    public Integer getConfirmedNumNow() {
        return confirmedNumNow;
    }

    /**
     * 设置现有确诊病例
     *
     * @param confirmedNumNow 现有确诊病例
     */
    public void setConfirmedNumNow(Integer confirmedNumNow) {
        this.confirmedNumNow = confirmedNumNow;
    }

    /**
     * 获取疑似感染病例
     *
     * @return suspected_num - 疑似感染病例
     */
    public Integer getSuspectedNum() {
        return suspectedNum;
    }

    /**
     * 设置疑似感染病例
     *
     * @param suspectedNum 疑似感染病例
     */
    public void setSuspectedNum(Integer suspectedNum) {
        this.suspectedNum = suspectedNum;
    }

    /**
     * 获取治愈人数
     *
     * @return cured_num - 治愈人数
     */
    public Integer getCuredNum() {
        return curedNum;
    }

    /**
     * 设置治愈人数
     *
     * @param curedNum 治愈人数
     */
    public void setCuredNum(Integer curedNum) {
        this.curedNum = curedNum;
    }

    /**
     * 获取死亡人数
     *
     * @return dead_num - 死亡人数
     */
    public Integer getDeadNum() {
        return deadNum;
    }

    /**
     * 设置死亡人数
     *
     * @param deadNum 死亡人数
     */
    public void setDeadNum(Integer deadNum) {
        this.deadNum = deadNum;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public String getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tid=").append(tid);
        sb.append(", areaId=").append(areaId);
        sb.append(", publishDate=").append(publishDate);
        sb.append(", country=").append(country);
        sb.append(", countryEnname=").append(countryEnname);
        sb.append(", province=").append(province);
        sb.append(", provinceShort=").append(provinceShort);
        sb.append(", provinceEnname=").append(provinceEnname);
        sb.append(", confirmedNum=").append(confirmedNum);
        sb.append(", confirmedNumNow=").append(confirmedNumNow);
        sb.append(", suspectedNum=").append(suspectedNum);
        sb.append(", curedNum=").append(curedNum);
        sb.append(", deadNum=").append(deadNum);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}